package com.catsic.logs.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.catsic.base.BaseEntity;

@Entity
@Table(name="S_LOG")
public class Logs extends BaseEntity{
	
	/**
	 * IP地址
	 */
	@Column(name="IP")
    private String ip;
	
	/**
	 * 日志内容 
	 */
	@Column(name="CONTENT", length=4000)
    private String content;
	
    /**
     * 模块名称：module
     */
	@Column(name="MODULE", nullable = false)
    private String module;
	
    /**
     * 操作(主要是"添加"、"修改"、"删除")  
     */
	@Column(name="OPERATION", nullable = false)
    private String operation;
	
    /**
     * organId：机构ID
     */
	@Column(name="ORGANID")
	private String organId;
	
    /**
     * organCode：机构编码
     */
	@Column(name="ORGANCODE")
	private String organCode;
	
    /**
     * organName：机构名称
     */
	@Column(name="OGANNAME")
	private String organName;
	
    /**
     * 成功：success，失败：fail
     */
	@Column(name="BOOL")
	private String bool;
	
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public String getBool() {
		return bool;
	}
	public void setBool(String bool) {
		this.bool = bool;
	}
	public String getOrganId() {
		return organId;
	}
	public void setOrganId(String organId) {
		this.organId = organId;
	}
	public String getOrganCode() {
		return organCode;
	}
	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}
	public String getOrganName() {
		return organName;
	}
	public void setOrganName(String organName) {
		this.organName = organName;
	}
	
}
